home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / infoserv / www / cern / dev / www-talk.9301-9306.Z / www-talk.9301-9306 / text0962.txt < prev    next >
Encoding:
Text File  |  1995-04-24  |  1.7 KB  |  51 lines

  1.  
  2. At last I have actually got around to doing it.
  3. The 2.04 version of the library, if compiled
  4. appropraitely, and linked with freeWAIS libraries
  5. client.a and wais.a, will directly grok wais:* urls
  6. and search and retrieve from WAIS servers.
  7.  
  8. As a quite separate thing, whether or not you have the
  9. wais protocol linked in, there is a parser for wais
  10. source files which, apart from formatting them a little,
  11. puts a link to the wais index itself.  So any 2.04+
  12. client coming across a application/x-wais-source type
  13. file (as it assumes .src files to be) will do the
  14. necessary.
  15.  
  16. I am not 100% happy about the way it works.
  17.  
  18. Firstly, to be 100% portable it does not cache source
  19. files, so when you follow a link to a wais database
  20. there is nothing much to display to the user: just the
  21. database name.  This is the old problem that a wais database
  22. does not describe itself, you have to happen to have the
  23. source file somewhere.  I am told that in Z30.50-9X
  24. the EXPLAIN function will cover this. If in the mean time
  25. I do cache source files, I wonder where would be a good 
  26. place to put them.
  27.  
  28. Secondly, the WAIS urls are still really messy, with stuff
  29. in there which dosn't seem apropriate. One of the things
  30. is the format of the data, because in wais this is returned
  31. at search time and so (as in Gopher0 and half in Gopher+)
  32. must be stored in the link.
  33.  
  34. BTW, does anyone have a definitive list of all WAIS type
  35. fields and all Gopher type characters?
  36.  
  37. Anyway, the code is there for anyone who wants to play.
  38. It may be buggy yet.  You can all go write wais: URLs.
  39. Those who don't have the wais code compiled in remember
  40. to 
  41.  
  42.      setenv WWW_wais_GATE http://info.cern.ch:8001/
  43.  
  44. which should wouk on all the old clients.
  45. (That gateway won't grok new clients bt I'll fix that)
  46.  
  47. Enjoy...
  48.  
  49. Tim
  50.  
  51.